<!--
 * @Autor: 黄旗
 * @Date: 2020-07-17 09:00:14
-->
<template>
    <Button
        v-show="params.show ? params.show.show : true"
        :type="params.type || 'primary'"
        :size="params.size"
        :disabled="params.disabled"
        :loading="params.loading"
        :icon="params.icon"
				v-hasC="params.has"
        @click="$emit('click', $event)"
    >{{ params.value }}</Button>
</template>

<script>
export default {
  props: ["params"],
};
</script>
